import type { PromiseType } from '#types/utils.d'

import AccountInfoApi from '#/api/accountInfo/accountInfo'

export const PageApi = AccountInfoApi.inst

type TableList = PromiseType<ReturnType<typeof PageApi.getPageList>>['records']
export type TableListItem = TableList[number]
